<template>
    <h1>我是购物车页面</h1>
</template>

<script setup>
import { useRoute } from 'vue-router';

const router = useRoute()

console.log(router.query);
</script>